package com.woniu.woniuticket.dao;

import com.woniu.woniuticket.entity.School;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Select;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author spirit
 * @since 2020-01-02
 */
public interface SchoolMapper extends BaseMapper<School> {

    @Select("select school_qualification,school_status,school_id from school where school_name = #{schoolName}")
    School firstqualification(String schoolName);
}
